#include "HttpServer.hpp"
#include <iostream>
#include <memory>
#include<pthread.h>
#include"log.hpp"

using namespace std;
int main(int argc,char*argv[])
{
    if(argc!=2) exit(1);
    uint16_t port=stoi(argv[1]);
    unique_ptr<HttpServer> svr(new HttpServer(port));
    svr->Start();
    return 0;
}
